package vip.ifmm.lehouse.user.service.api.mock;

import vip.ifmm.lehouse.common.dto.ServerResponse;
import vip.ifmm.lehouse.common.enums.CommonStatus;
import vip.ifmm.lehouse.common.model.User;
import vip.ifmm.lehouse.user.service.api.UserInfoService;

/**
 * @author: mackyhuang
 * <p>email: mackyhuang@163.com <p>
 * <p>date: 2019/6/17 </p>
 */
public class UserInfoServiceMock implements UserInfoService {
    @Override
    public ServerResponse getUserInfo(Integer userId) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }

    @Override
    public ServerResponse updateUserInfo(User user) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }

    @Override
    public ServerResponse nicknameExisted(String nickname) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }

    @Override
    public ServerResponse updateHeadImage(User user) {
        return ServerResponse.response(CommonStatus.SERVICE_IS_UNAVAILABLE);
    }
}
